package com.hr;

import com.hr.config.WebConfig;
import com.tangzc.mpe.autotable.EnableAutoTable;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.annotation.Import;

@SpringBootApplication// 自动配置
@EnableAutoTable// 自动建表
@EnableEurekaServer // 注册中心
@MapperScan("com.hr.User.mapper")// 扫描mapper
@Import(WebConfig.class)
public class TotalmoduleApplication {
    public static void main(String[] args) {
        SpringApplication.run(TotalmoduleApplication.class, args);
    }

}
